.TH std::experimental::basic_string_view::size, 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::experimental::basic_string_view::size, \- std::experimental::basic_string_view::size,

.SH Synopsis

   constexpr size_type size() const noexcept;    (library fundamentals TS)
   constexpr size_type length() const noexcept;  (library fundamentals TS)

   Returns the number of CharT elements in the view, i.e. std::distance(begin(),
   end()).

.SH Parameters

   \fI(none)\fP

.SH Return value

   The number of CharT elements in the view.

.SH Complexity

   Constant.

.SH See also

   empty    checks whether the view is empty
            \fI(public member function)\fP
   max_size returns the maximum number of characters
            \fI(public member function)\fP

.SH Category:
     * Noindexed pages
